/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.semester.code.entity;

import java.math.BigDecimal;
import java.util.Vector;

/**
 *
 * @author vi
 */
public class PositionEntity {
    private int positionId;
    private String positionName;
    private String description;
    private BigDecimal bonusSalary;

    public int getPositionId() {
        return positionId;
    }

    public void setPositionId(int positionId) {
        this.positionId = positionId;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public BigDecimal getBonusSalary() {
        return bonusSalary;
    }

    public void setBonusSalary(BigDecimal bonusSalary) {
        this.bonusSalary = bonusSalary;
    }
     public Vector toVector(){
        Vector v = new Vector();
        v.add(getPositionId());
        v.add(getPositionName());
        v.add(getDescription());
        v.add(getBonusSalary().toBigInteger()+"");
        return v;
    }
    
}
